package com.ruoyi.mhorders.mapper;

import java.util.List;
import com.ruoyi.mhorders.domain.MhOrder;

/**
 * 会员订单Mapper接口
 * 
 * @author ruoyi
 * @date 2025-11-16
 */
public interface MhOrderMapper 
{
    /**
     * 查询会员订单
     * 
     * @param id 会员订单主键
     * @return 会员订单
     */
    public MhOrder selectMhOrderById(Long id);

    public MhOrder selectMhOrderByOrderNO(String OrderNO);

    /**
     * 查询会员订单列表
     * 
     * @param mhOrder 会员订单
     * @return 会员订单集合
     */
    public List<MhOrder> selectMhOrderList(MhOrder mhOrder);

    /**
     * 新增会员订单
     * 
     * @param mhOrder 会员订单
     * @return 结果
     */
    public int insertMhOrder(MhOrder mhOrder);

    /**
     * 修改会员订单
     * 
     * @param mhOrder 会员订单
     * @return 结果
     */
    public int updateMhOrder(MhOrder mhOrder);

    /**
     * 删除会员订单
     * 
     * @param id 会员订单主键
     * @return 结果
     */
    public int deleteMhOrderById(Long id);

    /**
     * 批量删除会员订单
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteMhOrderByIds(Long[] ids);
}
